<?php
/**
 * Created by PhpStorm.
 * User: CFH
 * Date: 2017/3/27
 * Time: 13:28
 */
class makeup_top extends Model{
    public function __construct()
    {
        //初始化
        $this->init_top();
    }

    public function TmallSmartstoreMakeupTemplateGetRequest($type = ''){

        $req = new TmallSmartstoreMakeupTemplateGetRequest;
        $req->setType($type);
        $resp = $this->c->execute($req);
        return $resp;
    }


    public function TmallSmartstoreMakeupMaterialGetRequest($pageSize = 4 ,$pageNo = 1, $sku_id = '' , $num_iid = ''){

        $req = new TmallSmartstoreMakeupMaterialGetRequest;
        $req->setSkuId($sku_id);
        $req->setPageSize($pageSize);
        $req->setPageNumber($pageNo);
        $req->setItemId($num_iid);
        $resp = $this->c->execute($req, $this->top_session);
        return $resp;
    }

}